<ng-form class="form-horizontal form-validation">
  <div class="form-group">
    <h4 class="text-center">线下收款</h4>
  </div>
  <div class="form-group">
    <label class="control-label col-sm-2 col-sm-offset-1">租金周期</label>
    <div class="col-sm-5">
      <div class="form-control info-text">
        {{bill.startTime|dateTransfer:'YYYY年MM月DD日'}}
        &nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;
        {{bill.endTime|dateTransfer:'YYYY年MM月DD日'}}
      </div>
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-sm-2 col-sm-offset-1">应收金额</label>
    <div class="col-sm-3">
      <div class="form-control info-text">{{bill.money}}</div>
    </div>
    <label class="control-label col-sm-2">实收金额</label>
    <div class="col-sm-3">
      <div class="form-control info-text">{{bill.money}}</div>
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-sm-2 col-sm-offset-1">费用明细</label>
    <div class="col-sm-9">
          <textarea cols="5" class="form-control" readonly
                    ng-model="bill.content"></textarea>
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-sm-2 col-sm-offset-1">支付方式</label>
    <div class="col-sm-3">
      <select ng-model="bill.payType" class="form-control"
              ng-disabled="contractData.status>=4"
              ng-options="option.value as option.name for option in offPayTypeList"></select>
    </div>
    <label class="control-label col-sm-2">收款备注</label>
    <div class="col-sm-3">
          <textarea class="form-control" cols="3" ng-readonly="contractData.status>=4"
                    ng-model="bill.moneyDesc"></textarea>
    </div>
  </div>
  <div class="form-group text-center">
    <button class="btn btn-primary" ng-if="contractData.status==2"
            ng-confirm-click="{{'确认该客户已通过'+(bill.payType|constantTransfer:offPayTypeList)+'支付了'+bill.money+'元?'}}"
            ng-click="doPayment()">确认付款
    </button>
  </div>
</ng-form>